using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace InfoTech.VinhSon.Bussiness
{
	[Serializable]
	[Table("[dbo].[Layout]")]
	public partial class Layout
	{

		#region Properties

		[Key]
		[Required]
		[Column("Id")]
		public System.Int32 Id { get; set; }

		[Column("Name")]
		public System.String Name { get; set; }

		[Column("Area")]
		public System.String Area { get; set; }

		[Column("Controller")]
		public System.String Controller { get; set; }

		[Column("Action")]
		public System.String Action { get; set; }

		[Column("Partial")]
		public System.Boolean? Partial { get; set; }

		[Column("Inactive")]
		public System.Boolean? Inactive { get; set; }

		[Column("LastModified")]
		public System.DateTime? LastModified { get; set; }

		#endregion

		#region Navigation

		public virtual ICollection<Group> Groups { get; set; }

		#endregion

	}
}
